<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="well well-lg" style="height:600px;background:url('__STATIC__/img/login/user_login.png');">
    <div class="page-header" style="height:100px" ;>
        <h1>您好
            <small>欢迎来到登录界面</small>
        </h1>
    </div>
    <div>
        <form class="form-horizontal" role="form" action="{:url('user/logincheck')}" method="post">
            <div class="form-group" style="width: 50%">
                <label for="firstname" class="col-sm-2 control-label">用户名</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control"name="username" id="firstname"
                           placeholder="请输入用户名">
                </div>
            </div>
            <div class="form-group" style="width: 50%">
                <label for="lastname" class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" name="password" id="lastname"
                           placeholder="请输入密码">
                </div>
            </div>
            <div class="form-group" style="width: 50%">
                <label class="col-sm-2 control-label">验证码</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="VerificationCode" placeholder="输入验证码">
                    <div>{:captcha_img()}</div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">登录</button>

                    <button type="submit" class="btn btn-default"><a href="{:url('user/register')}">注册</a></button>
                </div>
            </div>
    </form>


</div>
</div>


</body>
</html>